﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ZFMaster.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ZF.WS.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">






<style>
    .login{ width:440px; margin-left:40px;}
.login dd{ text-align:left; line-height:30px; height:30px;   }
.login table{background:#eee; width:100%;}
.login td{ background:#fff; text-align:center; height:40px; line-height:40px; }
.login td.l{ text-align:right; width:100px; padding-right:5px;}
.login td.r{ text-align:left;padding-left:5px;}

.lctn{width:300px; border:0px; margin-left:50px;  border-left:1px solid #eee; padding-left:20px; }
.lctn dd{ height:40px; line-height:40px; vertical-align:bottom; text-align:left;}
.lctn .s1{ font-size:14px; color:#0099FF; font-weight:bold; padding-top:10px;}
.lctn img{ width:32px; height:32px;}
</style>
<div  >

    <div class="login board fl_ ">
        <dl>
            <dt>&nbsp;&nbsp;用户登录</dt>
            <dd>
                <table>
                    <tr>
                        <td class="l">
                            用户名：
                        </td>
                        <td class="r">
                            <zf:TextBox runat="server" ID="tbAccount" class="txt"></zf:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="l">
                            密 码：
                        </td>
                        <td class="r">
                            <zf:TextBox runat="server" ID="tbPwd" TextMode="Password" class="txt"></zf:TextBox>&nbsp;<a
                                href="/Person/getpwd.aspx" style="color: #f00">忘记密码</a>
                        </td>
                         
                    </tr>
                    <tr>
                        <td class="l">
                            验证码：
                        </td>
                        <td class="r">
                            <zf:TextBox runat="server" ID="tbVCode" Text="" class="txt"></zf:TextBox>
                            <img src="/ValidatePage.aspx" style="cursor: pointer" class='vcodeimg' onclick="refreshValidateCodeImage(this);" />
                        </td>
                    </tr>
                    <tr>
                        <td class="l">
                            记住我：
                        </td>
                        <td class="r">
                            <zf:CheckBox runat="server" Text="开启之后下次你将无需登录就可以进入个人空间" ID="cbRemember" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <zf:LinkButton runat="server" ID="btLogin" OnClick="_Login"><img src="/image/23162631Q-19.jpg" /></zf:LinkButton>
                            &nbsp;&nbsp;&nbsp; <a href="/Register.aspx">注册新用户</a>
                        </td>
                    </tr>
                </table>
            </dd>
        </dl>
    </div>
    <div class=" board lctn fl_  ">
        <dl>
            <dd style="color: #FE6E1B; font-size: 16px; font-weight: bold;">
                --注册会员--
            </dd>
            <dd>
                <img src="/image/asfasdewew.gif" />&nbsp; <span class="s1">
                    房产购售、租赁</span>&nbsp; <span class="s2">免费房源发布、搜索</span>
            </dd>
            <dd>
                <img src="/image/20081107084541376.gif" />&nbsp; <span class="s1">
                    在线咨询</span>&nbsp; <span class="s2">在线专家为您提示专业解答</span>
            </dd>
            <dd>
                <img src="/image/20080922084719897.gif" />&nbsp; <span class="s1">
                    家居商城</span>&nbsp; <span class="s2">在家购物，我们送货到家</span>
            </dd>
            <dd>
                <img src="/image/icon_features_01.gif" />&nbsp; <span class="s1">
                    分类信息</span>&nbsp; <span class="s2">分门别类，定有您所需</span>
            </dd>
            <dd>
                <img src="/image/icon_features_04.gif" />&nbsp; <span class="s1">
                    在线礼佛</span>&nbsp; <span class="s2">快快来体验在线求神拜佛吧</span>
            </dd>
        </dl>
    </div>

    
<script>
    $(function() {
        $("input.reg").click(function() {
        window.location = "/Register.aspx";
            
        });
    });
</script>
<script language='javascript' type="text/javascript">
    function refreshValidateCodeImage(ValidateCodeImageControl) {

        var url = ValidateCodeImageControl.src;
        if (url.indexOf("?code=") > -1) {
            url = url.split("?")[0];
        }
        ValidateCodeImageControl.src = url + '?code=' + randomNum(10);
    }
    function randomNum(n) {
        var rnd = '';
        for (var i = 0; i < n; i++)
            rnd += Math.floor(Math.random() * 10);
        return rnd;

    }
    $(function() {
        $(".vcodeimg")[0].click();

    });
    </script>
</div>



</asp:Content>
